#pragma once
#include "HttpClient.h"
#include "../libcurl/include/curl/curl.h"

class WindowsHttpClient:public HttpClient
{
public:
	WindowsHttpClient(void);
	virtual ~WindowsHttpClient(void);
	virtual int RequestURL(std::string url,char buffer[],int& nBuf);
private:
	static size_t WriteData( char *ptr, size_t size, size_t nmemb, void *userdata);

private:
	CURL* m_pEasyHandle;
};